package lumis.service.mailmarketing;

import java.util.ArrayList;
import java.util.Collection;
import java.util.Date;

/**
 * Object that represents a bulletin
 *
 * @version $Revision: 7943 $ $Date: 2007-08-10 15:11:07 -0300 (Fri, 10 Aug 2007) $
 * @since 4.0.6
 */
public class Bulletin 
{
	public final static int STATUS_AUTHORING = 0; 
	public final static int STATUS_READY_FOR_PUBLISHING = 1; 
	public final static int STATUS_SENT = 2; 
	
	private String id;
	private String senderEmail;
	private String title;
	private String subject;
	private String content;
	private Date sendDateTime;
	private int status;
	private Collection<Category> categories = new ArrayList<Category>();
	
	public String getContent()
	{
		return content;
	}
	
	public void setContent(String content)
	{
		this.content = content;
	}
	
	public String getId()
	{
		return id;
	}
	
	public void setId(String id)
	{
		this.id = id;
	}
	
	public Date getSendDateTime()
	{
		return sendDateTime;
	}
	
	public void setSendDateTime(Date sendDateTime)
	{
		this.sendDateTime = sendDateTime;
	}
	
	public String getSenderEmail()
	{
		return senderEmail;
	}
	
	public void setSenderEmail(String senderEmail)
	{
		this.senderEmail = senderEmail;
	}
	
	public int getStatus()
	{
		return status;
	}
	
	public void setStatus(int status)
	{
		this.status = status;
	}
	
	public String getSubject()
	{
		return subject;
	}
	
	public void setSubject(String subject)
	{
		this.subject = subject;
	}
	
	public String getTitle()
	{
		return title;
	}
	
	public void setTitle(String title)
	{
		this.title = title;
	}

	public Collection<Category> getCategories()
	{
		return categories;
	}

	public void setCategories(Collection<Category> categories)
	{
		this.categories = categories;
	}
}
